<?php

namespace App\Http\Controllers;

use App\Http\Controllers\Common\CommonController;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use QL\Ext\CurlMulti;
use QL\QueryList;

class Controller extends BaseController
{
    private $querylist;
    private $snoopy;
    private $common;
    use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
    protected function QList()
    {
        $this->querylist = new QueryList();
        $this->querylist->use(CurlMulti::class);
        return $this->querylist;
    }
    protected function Snoopy(){
        $this->snoopy = new \Snoopy();
        return $this->snoopy;
    }

    protected function Common(){
       $this->common = new CommonController();
       return $this->common;
    }

}
